Package-level declarations
Types
Define a custom recent emoji provider which shows most frequently used emoji
Extended the sqlite tile writer to have some additional query functions. A this point it's unclear if there is a need to put these with the osmdroid-android library, thus they were put here as more of an example.
Properties
When printing strings to logs sometimes we want to print useful debugging information about users or positions. But we don't want to leak things like usernames or locations. So this function if given a string, will return a string which is a maximum of three characters long, taken from the tail of the string. Which should effectively hide real usernames and locations, but still let us see if values were zero, empty or different.
Functions
Adds copyright to map depending on what source is showing
Create LatLong Grid line overlay
This wraps (and discards) exceptions, but first it reports them to our bug tracking system and prints a message to the log.
If an exception occurs, show the message in a snackbar and continue
This wraps (and discards) exceptions, but it does output a log message
Calculates the zoom level required to fit the entire BoundingBox inside the map view.
Safely extracts the hardware model number from a HardwareModel enum.
Creates a new bounding box with adjusted dimensions based on the provided zoomFactor.